package com.zhongwang.business.gen.mapper;

import com.zhongwang.business.gen.entity.CosCarriageDetail;
import com.zhongwang.business.gen.entity.CosCarriageDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CosCarriageDetailMapper {
    long countByExample(CosCarriageDetailExample example);

    int deleteByExample(CosCarriageDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CosCarriageDetail record);

    int insertSelective(CosCarriageDetail record);

    List<CosCarriageDetail> selectByExample(CosCarriageDetailExample example);

    CosCarriageDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CosCarriageDetail record, @Param("example") CosCarriageDetailExample example);

    int updateByExample(@Param("record") CosCarriageDetail record, @Param("example") CosCarriageDetailExample example);

    int updateByPrimaryKeySelective(CosCarriageDetail record);

    int updateByPrimaryKey(CosCarriageDetail record);
}